home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UNIXTOOL / UNIXLIB37B / !UnixLib37_netlib_netlib_c_recv < prev    next >
Encoding:
Text File  |  1996-07-28  |  535 b   |  24 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source$
  4.  * $Date$
  5.  * $Revision$
  6.  * $State$
  7.  * $Author$
  8.  *
  9.  * $Log$
  10.  * (c) Copyright 1995 Sergio Monesi
  11.  ***************************************************************************/
  12.  
  13. static const char rcs_id[] = "$Id$";
  14.  
  15. #include <sys/unix.h>
  16. #include <sys/socket.h>
  17.  
  18. int
  19. recv (int s, char *msg, int len, int flags)
  20. {
  21. /*  printf("U! recv: fd=%d, realsocket=%d\n",s,(__u->file+s)->r[0]); */
  22.   return (_recv ((__u->file + s)->r[0], msg, len, flags));
  23. }
  24.